#!/bin/bash

export LSTR=`cat .classpath | grep M2_REPO | tr "\"" "\n" | grep M2_REPO | sed -e ''s/"M2_REPO"/"\/home\/pasquale\/.m2\/repository"/g'' | tr "\n" ":"`
export STR=`cat .classpath | grep kind=\"lib\" | tr " " "\n" | grep path= | tr "\"" " " | awk '{ print $2 }' | tr "\n" ":"`

java -cp .:target/classes:target/test-classes:$STR.:$LSTR:bin -Xmx2048M $@
